//package com.hongxun.modules.csg.entity.dxf;//-----------------------------------------------------------------------------
//// Copyright (c) 2004 Soft Gold Software Corporation.  All Rights Reserved.
////-----------------------------------------------------------------------------
//
//import javax.swing.UIManager;
//import java.awt.*;
//import java.util.HashMap;
//import java.util.Map;
//
//public class AppDXFExporter {
//  private boolean packFrame = false;
//
//  //Construct the application   构建应用
//  public AppDXFExporter() {
//    // TODO: 2018/10/22  已经去除窗口显示，传递数据进行组码
////    Map<String , Object> map = new HashMap<>();
//    FrmDXFExporter frame = new FrmDXFExporter(new HashMap<>());
//    //Validate frames that have preset sizes。    验证具有预置大小的帧
//    //Pack frames that have useful preferred size info, e.g. from their layout。  包装框架，具有有用的首选大小信息，例如从他们的布局
//    if (packFrame) {
//      frame.pack();
//    }
//    else {
//      frame.validate();
//    }
//    //Center the window
////    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
////    Dimension frameSize = frame.getSize();
////    if (frameSize.height > screenSize.height) {
////      frameSize.height = screenSize.height;
////    }
////    if (frameSize.width > screenSize.width) {
////      frameSize.width = screenSize.width;
////    }
////    frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
//    frame.setVisible(true);
//  }
//  //Main method
//  public static void main(String[] args) {
//    try {
//      // swing窗口显示
////      UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
//    }
//    catch(Exception e) {
//      e.printStackTrace();
//    }
//    new AppDXFExporter();
//  }
//}